package com.liqing.movecomment.vo;

public class AnswerMeVo {
    //我发布的内容
    private String myComment;
    private Reply reply;

    @SuppressWarnings("all")
    public AnswerMeVo() {
    }

    @SuppressWarnings("all")
    public String getMyComment() {
        return this.myComment;
    }

    @SuppressWarnings("all")
    public Reply getReply() {
        return this.reply;
    }

    @SuppressWarnings("all")
    public void setMyComment(final String myComment) {
        this.myComment = myComment;
    }

    @SuppressWarnings("all")
    public void setReply(final Reply reply) {
        this.reply = reply;
    }

    @Override
    @SuppressWarnings("all")
    public boolean equals(final Object o) {
        if (o == this) return true;
        if (!(o instanceof AnswerMeVo)) return false;
        final AnswerMeVo other = (AnswerMeVo) o;
        if (!other.canEqual((Object) this)) return false;
        final Object this$myComment = this.getMyComment();
        final Object other$myComment = other.getMyComment();
        if (this$myComment == null ? other$myComment != null : !this$myComment.equals(other$myComment)) return false;
        final Object this$reply = this.getReply();
        final Object other$reply = other.getReply();
        if (this$reply == null ? other$reply != null : !this$reply.equals(other$reply)) return false;
        return true;
    }

    @SuppressWarnings("all")
    protected boolean canEqual(final Object other) {
        return other instanceof AnswerMeVo;
    }

    @Override
    @SuppressWarnings("all")
    public int hashCode() {
        final int PRIME = 59;
        int result = 1;
        final Object $myComment = this.getMyComment();
        result = result * PRIME + ($myComment == null ? 43 : $myComment.hashCode());
        final Object $reply = this.getReply();
        result = result * PRIME + ($reply == null ? 43 : $reply.hashCode());
        return result;
    }

    @Override
    @SuppressWarnings("all")
    public String toString() {
        return "AnswerMeVo(myComment=" + this.getMyComment() + ", reply=" + this.getReply() + ")";
    }
}
